package com.ruoyi.configuration.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 服务价格配置对象 mg_service_price_conf
 * 
 * @author ruoyi
 * @date 2024-01-16
 */
public class MgServicePriceConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Integer id;

    /** 服务编号 */
    @Excel(name = "服务编号")
    private Integer serviceId;

    /** 服务名类型（冗余） */
    @Excel(name = "服务名类型")
    private String serviceType;

    /** 服务类型id */
    @Excel(name = "服务类型id")
    private Integer typeId;

    /** 返稿开始时间 */
    @Excel(name = "返稿开始时间")
    private String returnStartTime;

    /** 返稿结束时间 */
    @Excel(name = "返稿结束时间")
    private Long returnEndTime;

    /** 计费方式 0 按字数 1  按 篇数 2 客服报价 */
    @Excel(name = "计费方式 0 按字数 1  按 篇数 2 客服报价")
    private Byte billingMethod;

    /** 客户价格 */
    @Excel(name = "客户价格")
    private BigDecimal customerPrice;

    /** 是否加急 0 否 1 是 */
    @Excel(name = "是否加急 0 否 1 是")
    private Byte urgent;

    /** 加急开始时间 */
    @Excel(name = "加急开始时间")
    private Long urgentStartTime;

    /** 加急结束时间 */
    @Excel(name = "加急结束时间")
    private Long urgentEndTime;

    /** 加收比例 */
    @Excel(name = "加收比例")
    private BigDecimal additionalChargeRatio;

    /** 使用查重券 0 否 1 可以 */
    @Excel(name = "使用查重券 0 否 1 可以")
    private Byte useCheckCoupon;

    /** 有翻译证明文件功能吗 0 没有 1 有 */
    @Excel(name = "有翻译证明文件功能吗 0 没有 1 有")
    private Byte havaTranslationProof;
   
    private Byte schemeType;
    
    /** 开始范围 */
    @Excel(name = "开始范围")
    private BigDecimal start;

    
    /** 类型 0 区间 1 以上 */
    @Excel(name = "类型 0 区间 1 以上")
    private Integer type;

    /** 结束范围 */
    @Excel(name = "结束范围")
    private BigDecimal end;

    /** 方案类型 0标准方案 1加快方案 2 升级方案 */
    @Excel(name = "方案类型 0标准方案 1加快方案 2 升级方案")
    private Integer programme;

    /** 区间编号 */
    @Excel(name = "区间编号")
    private Long wordId;
    
    @Excel(name = "起步价")
    private BigDecimal startPrice;
    
    private String description;
    
    

    public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public BigDecimal getStart() {
		return start;
	}

	public void setStart(BigDecimal start) {
		this.start = start;
	}

	public BigDecimal getEnd() {
		return end;
	}

	public void setEnd(BigDecimal end) {
		this.end = end;
	}

	public Integer getProgramme() {
		return programme;
	}

	public void setProgramme(Integer programme) {
		this.programme = programme;
	}

	public Long getWordId() {
		return wordId;
	}

	public void setWordId(Long wordId) {
		this.wordId = wordId;
	}

	public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setServiceId(Integer serviceId) 
    {
        this.serviceId = serviceId;
    }

    public Integer getServiceId() 
    {
        return serviceId;
    }
    public void setServiceType(String serviceType) 
    {
        this.serviceType = serviceType;
    }

    public String getServiceType() 
    {
        return serviceType;
    }
    
    public Integer getTypeId() {
		return typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getReturnStartTime() {
		return returnStartTime;
	}

	public void setReturnStartTime(String returnStartTime) {
		this.returnStartTime = returnStartTime;
	}

	public Long getReturnEndTime() {
		return returnEndTime;
	}

	public void setReturnEndTime(Long returnEndTime) {
		this.returnEndTime = returnEndTime;
	}

	public Byte getBillingMethod() {
		return billingMethod;
	}

	public void setBillingMethod(Byte billingMethod) {
		this.billingMethod = billingMethod;
	}

	public BigDecimal getCustomerPrice() {
		return customerPrice;
	}

	public void setCustomerPrice(BigDecimal customerPrice) {
		this.customerPrice = customerPrice;
	}

	public Byte getUrgent() {
		return urgent;
	}

	public void setUrgent(Byte urgent) {
		this.urgent = urgent;
	}

	public Long getUrgentStartTime() {
		return urgentStartTime;
	}

	public void setUrgentStartTime(Long urgentStartTime) {
		this.urgentStartTime = urgentStartTime;
	}

	public Long getUrgentEndTime() {
		return urgentEndTime;
	}

	public void setUrgentEndTime(Long urgentEndTime) {
		this.urgentEndTime = urgentEndTime;
	}

	public BigDecimal getAdditionalChargeRatio() {
		return additionalChargeRatio;
	}

	public void setAdditionalChargeRatio(BigDecimal additionalChargeRatio) {
		this.additionalChargeRatio = additionalChargeRatio;
	}

	public Byte getUseCheckCoupon() {
		return useCheckCoupon;
	}

	public void setUseCheckCoupon(Byte useCheckCoupon) {
		this.useCheckCoupon = useCheckCoupon;
	}

	public Byte getHavaTranslationProof() {
		return havaTranslationProof;
	}

	public void setHavaTranslationProof(Byte havaTranslationProof) {
		this.havaTranslationProof = havaTranslationProof;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serviceId", getServiceId())
            .append("serviceType", getServiceType())
            .append("typeId", getTypeId())
            .append("returnStartTime", getReturnStartTime())
            .append("returnEndTime", getReturnEndTime())
            .append("billingMethod", getBillingMethod())
            .append("customerPrice", getCustomerPrice())
            .append("urgent", getUrgent())
            .append("urgentStartTime", getUrgentStartTime())
            .append("urgentEndTime", getUrgentEndTime())
            .append("additionalChargeRatio", getAdditionalChargeRatio())
            .append("useCheckCoupon", getUseCheckCoupon())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("havaTranslationProof", getHavaTranslationProof())
            .toString();
    }

	public Byte getSchemeType() {
		return schemeType;
	}

	public void setSchemeType(Byte schemeType) {
		this.schemeType = schemeType;
	}

	public BigDecimal getStartPrice() {
		return startPrice;
	}

	public void setStartPrice(BigDecimal startPrice) {
		this.startPrice = startPrice;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
